package cn.yunhe.entity;

import java.io.Serializable;

/**
 * Created by Administrator on 2018/5/22.
 */
public class Teacher implements Serializable {
    private int teacher_id;
    private String teacher_name;
    private String phone;
    private String pwd;
    private Dept dept;
    private Course course;
    private String email;
    private int teacher_state;
    private Role role;

    public Teacher() {
        super();
    }

    public Teacher(int teacher_id, String teacher_name, String phone, String pwd, Dept dept, Course course, String email, int teacher_state, Role role) {
        this.teacher_id = teacher_id;
        this.teacher_name = teacher_name;
        this.phone = phone;
        this.pwd = pwd;
        this.dept = dept;
        this.course = course;
        this.email = email;
        this.teacher_state = teacher_state;
        this.role = role;
    }


    public int getTeacher_id() {
        return teacher_id;
    }
    public void setTeacher_id(int teacher_id) {
        this.teacher_id = teacher_id;
    }

    public String getTeacher_name() {
        return teacher_name;
    }

    public void setTeacher_name(String teacher_name) {
        this.teacher_name = teacher_name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getTeacher_state() {
        return teacher_state;
    }

    public void setTeacher_state(int teacher_state) {
        this.teacher_state = teacher_state;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "course=" + course +
                ", teacher_id=" + teacher_id +
                ", teacher_name='" + teacher_name + '\'' +
                ", phone='" + phone + '\'' +
                ", pwd='" + pwd + '\'' +
                ", dept=" + dept +
                ", email='" + email + '\'' +
                ", teacher_state=" + teacher_state +
                ", role=" + role +
                '}';
    }
}
